Syntax MediaWiki

Version 21 by Stephane Carrez

https://www.mediawiki.org/wiki/Help:Formatting/en

Style

The wiki supports several text styles:

  • Bold:
    '''bold item'''
  • Italic:
    ''Italic item''
  • Bold+Italic:
    '''''bold+italic item'''''

For other text styles, you can use inline HTML:

  • Strike:
    <s>Strike</s>
  • Underline:
    <u>Underline</u>
  • Inserted:
    <ins>Inserted</ins>
  • Deleted:
    <del>Deleted</del>

Headers

Section headers are supported up to 6 levels.

= Header 1 =
== Header 2 ==
=== Header 3 ===
==== Header 4 ====
===== Header 5 =====
====== Header 6 ======

The table of content __TOC_ _ is generated and inserted when there are more than 3 headers.

Paragraphs

A new paragraph is started after a new section header, after a pre-formatted item, after definition list or when an empty line is found,

Lorem ipsum dolor sit amet, consectetur adipiscing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. 

Lorem ipsum dolor sit amet, consectetur adipiscing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. 

Example:

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Lists

Bullet lists are introduced by a * at beginning of a line:

* item 1
* item 2
Example:
  • item 1
  • item 2

Numbered list use the # character:

# item 1
# item 2

Example:

  1. item 1
  2. item 2

Definition lists use the ; as first character of a line:

;item 1
:definition 1
;item 2
:definition 2

Example:

definition 1definition 2

Links

The Wiki engine supports auto linking when the AutoLink filter is used. Links to a wiki page have the form:

[[Link URL|Link label]]

Images

An image is a special link whose URL is prefixed by Image:

[[Image:Images/Ada.png|Ada picture]]

Exemple:

Ada picture

Templates

The MediaWiki templates are supported. The template is a special page which has the fixed prefix Template: in its name. The template has parameters which are replaced when the template is used. The template inclusion is made by using the following form:

{{MyTemplate|param1|param2}}

Within the template, each parameter is replaced by using the ~{~{~{nnn}}} form.